'''
7/1/2009 - initial version

'''

"""     This module contains all default settings and constants, to help the user 
        in the API to use and minimize the source code need to do simple
        things. You are encouraged to see the constants and adjust them here.
"""

from numpy import array, pi
#===============================================================================
#    Data Paths
#===============================================================================
fixedImageName = 'C:/Users/bryan/bryan-code/2D3D/vert1/fluoro/ushortim080-LAT.mhd'
#fixedImageName = 'C:/Users/bryan/bryan-code/trunk/Images/CalibratedDRRImage.mhd'
inputVolFileName = 'C:/Users/bryan/bryan-code/2D3D/vert1/CT/ucharCTv1r1.mha'
staFile = 'C:/Users/bryan/bryan-code/2D3D/vert1/CT/ucharCTv1r1.sta'
calFileLat = 'C:/Users/bryan/bryan-code/trunk/TestData/ext_cal1.txt'

roi = [[210,187],[277,370]]
#search_range = array([.75,.75,.75,.04,.04,.04])
#search_range *= 2.0
#level = 4
search_range = 2*array([0.5,0.5,0.5,1.*pi/180,1.*pi/180,1.*pi/180])
#search_range = array([1.5,1.,1.,.05,.075,.05])
# Optimizer specific parameters


#For NCC metric, T0 should be 0.35999
T0=0.50
Tf=1e-100
maxiter=20
maxeval=400
maxaccept=100
dwell=30
feps=1e-100
boltzmann=5e-3
learn_rate=0.5  #Not used in Fast schedule
quench=1.5
m=1.3
n=.7
schedule='fast'